﻿#region

using FluentNHibernate.Mapping;

#endregion

namespace MediaSage.Lib.Database
{
    public class MetadataMap : ClassMap<MetadataEntity>
    {
        #region Constructors

        public MetadataMap()
        {
            Table("Metadata");
            Id(x => x.ID).GeneratedBy.GuidComb().UnsavedValue("00000000-0000-0000-0000-000000000000");
            Id(x => x.Key);
            Id(x => x.Value);
        }

        #endregion Constructors
    }
}